pp108 : setType() Method (Tabs)

setType() Method (Tabs)


This method sets the position of the tab headers.

Syntax

tabGroupID.setType(sOrientation);

where, tabGroupID refers to the ID of the tab group.

Parameters

Parameter

Description

sOrientation

Required. Possible values are:

  • left: Tab headers are positioned along the left edge of each tab.
  • right: Tab headers are positioned along the right edge of each tab.
  • top: Tab headers are placed at the top of each tab.
  • bottom: Default. Tab headers are placed at the bottom of each tab.
  • stacked: Tabs are stacked.

Return Value

No return value.